﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace BingZi.HY.Core.Enums
{


    /// <summary>
    /// 获取方式
    /// </summary>
    public enum MethodType
    {
        /// <summary>
        /// Post方式
        /// </summary>
        [Text("Post方式")]
        Post = 1,
        /// <summary>
        /// Get方式
        /// </summary>
        [Text("Get方式")]
        Get = 2
    }

    /// <summary>
    /// 查询类型
    /// </summary>
    public enum SearchType
    {
        /// <summary>
        /// 模糊
        /// </summary>
        [Text("模糊")]
        Like = 1,
        /// <summary>
        /// 等于
        /// </summary>
        [Text("等于")]
        Equal = 2,
        /// <summary>
        /// 不等于
        /// </summary>
        [Text("不等于")]
        Ne = 3,
        /// <summary>
        /// 大于
        /// </summary>
        [Text("大于")]
        Gt = 4,
        /// <summary>
        /// 小于
        /// </summary>
        [Text("小于")]
        Lt = 5

    }
   



    #region "权限类型"
    /// <summary>
    /// 权限类型
    /// </summary>
    public enum PopedomType
    {
        /// <summary>
        /// 列表/查看
        /// </summary>
        List = 2,
        /// <summary>
        /// 新增
        /// </summary> 
        New = 4,
        /// <summary>
        /// 修改
        /// </summary>
        Edit = 8,
        /// <summary>
        /// 删除
        /// </summary>
        Delete = 16,
        /// <summary>
        /// 排序
        /// </summary>
        Orderby = 32,
        /// <summary>
        /// 打印
        /// </summary>
        Print = 64,
        /// <summary>
        /// 备用A
        /// </summary>
        A = 128,
        /// <summary>
        /// 备用B
        /// </summary>
        B = 256,
        /// <summary>
        /// 自定义权限512
        /// </summary>
        Custom512 = 512,
        /// <summary>
        /// 自定义权限1024
        /// </summary>
        Custom1024 = 1024,
        /// <summary>
        /// 自定义权限2048
        /// </summary>
        Custom2048 = 2048,
        /// <summary>
        /// 自定义权限4096 
        /// </summary>
        Custom4096 = 4096,
        /// <summary>
        /// 自定义权限8192
        /// </summary>
        Custom8192 = 8192,
        /// <summary>
        /// 自定义权限16384
        /// </summary>
        Custom16384 = 16384,
        /// <summary>
        /// 自定义权限32768
        /// </summary>
        Custom32768 = 32768,
        /// <summary>
        /// 自定义权限65536
        /// </summary>
        Custom65536 = 65536,
        /// <summary>
        /// 自定义权限131072
        /// </summary>
        Custom131072 = 131072,
        /// <summary>
        /// 自定义权限262144
        /// </summary>
        Custom262144 = 262144,
        /// <summary>
        /// 自定义权限524288
        /// </summary>
        Custom524288 = 524288,
        /// <summary>
        /// 自定义权限1048576
        /// </summary>
        Custom1048576 = 1048576,
        /// <summary>
        /// 自定义权限2097152
        /// </summary>
        Custom2097152 = 2097152,
        /// <summary>
        /// 自定义权限4194304
        /// </summary>
        Custom4194304 = 4194304,
        /// <summary>
        /// 自定义权限8388608
        /// </summary>
        Custom8388608 = 8388608,
        /// <summary>
        /// 自定义权限16777216
        /// </summary>
        Custom16777216 = 16777216,
        /// <summary>
        /// 自定义权限33554432
        /// </summary>
        Custom33554432 = 33554432,
        /// <summary>
        /// 自定义权限67108864
        /// </summary>
        Custom67108864 = 67108864,
        /// <summary>
        /// 自定义权限134217728
        /// </summary>
        Custom134217728 = 134217728,
        /// <summary>
        /// 自定义权限268435456
        /// </summary>
        Custom268435456 = 268435456,
        /// <summary>
        /// 自定义权限536870912
        /// </summary>
        Custom536870912 = 536870912
    }
    #endregion


    /// <summary>
    /// 按钮链接类型
    /// </summary>
    public enum UrlType : byte
    {
        /// <summary>
        /// 超级链接
        /// </summary>
        Href,
        /// <summary>
        /// JavaScript 脚本
        /// </summary>
        JavaScript,
        /// <summary>
        /// VBScript 脚本
        /// </summary>
        VBScript
    }


    #region "提示框图标类型"

    /// <summary>
    /// 提示Icon类型
    /// </summary>
    public enum Icon_Type : byte
    {
        /// <summary>
        /// 操作成功
        /// </summary>
        OK,
        /// <summary>
        /// 操作标示
        /// </summary>
        Alert,
        /// <summary>
        /// 操作失败
        /// </summary>
        Error
    }
    #endregion

    #region "提示框图标类型"
    /// <summary>
    /// 获取数据类型
    /// </summary>
    public enum DataType
    {
        /// <summary>
        /// 字符
        /// </summary>
        Str = 1,
        /// <summary>
        /// 日期
        /// </summary>
        Dat = 2,
        /// <summary>
        /// 整型
        /// </summary>
        Int = 3,
        /// <summary>
        /// 长整型
        /// </summary>
        Long = 4,
        /// <summary>
        /// 双精度小数
        /// </summary>
        Double = 5,
        /// <summary>
        /// 只限字符和数字
        /// </summary>
        CharAndNum = 6,
        /// <summary>
        /// 只限邮件地址
        /// </summary>
        Email = 7,
        /// <summary>
        /// 只限字符和数字和中文
        /// </summary>
        CharAndNumAndChinese = 8

    }
    #endregion


    /// <summary>
    /// 信息状态(0:未审核,1:正常,2:锁定,3:删除)
    /// </summary>
    public enum EnumState
    {
        /// <summary>
        /// 待审核
        /// </summary>
        [Text("待审核")]
        NoAudit = 0,
        /// <summary>
        /// 正常
        /// </summary>
        [Text("正常")]
        Normal = 1,
        /// <summary>
        /// 锁定
        /// </summary>
        [Text("锁定")]
        Lock = 2,
        /// <summary>
        /// 已删除
        /// </summary>
        [Text("已删除")]
        Delete = 3
    }

    /// <summary>
    /// 邮件类型
    /// </summary>
    public enum EnumMailType
    {
        /// <summary>
        /// 注册用户
        /// </summary>
        [Text("注册")]
        Register = 0,
        /// <summary>
        /// 找回密码
        /// </summary>
        [Text("找回密码")]
        ForgetPass = 1,
        /// <summary>
        /// 采集用户
        /// </summary>
        [Text("采集用户")]
        FetchUser = 2


    }









}
